﻿using DSPL.Contracts.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DSPL.Common.Classes
{
    public class ColumnValueProperties : BaseViewModel
    {
        private string dispalyMember;
        private string valueMember;
        private string dataType;

        public string DispalyMember
        {
            get { return dispalyMember; }
            set
            {
                dispalyMember = value;
                OnPropertyChanged("DispalyMember");
            }
        }

        public string ValueMember
        {
            get { return valueMember; }
            set
            {
                valueMember = value;
                OnPropertyChanged("ValueMember");
            }
        }

        public string DataType
        {
            get { return dataType; }
            set
            {
                dataType = value;
                OnPropertyChanged("DataType");
            }
        }

        public ColumnValueProperties()
        {
        }

        public ColumnValueProperties(string dispalyMember, string valueMember)
        {
            this.DispalyMember = dispalyMember;
            this.ValueMember = valueMember;
        }

        public ColumnValueProperties(string dispalyMember, string valueMember, string dataType)
        {
            this.DispalyMember = dispalyMember;
            this.ValueMember = valueMember;
            this.DataType = dataType;
        }

    }
}
